SftTree/OCX 7.0

SftTree.RowColPictureH Property

Softel vdm, Inc.

Defines the graphic displayed in the row/column header.

Deprecated - Provided for compatibility with earlier versions only - Use RowColumnHeader.Image.PictureH instead

Syntax       

Get

VB.NET

Handle = object.RowColPictureH  As Integer

VB

Handle = object.RowColPictureH  As OLE_HANDLE

C#.NET

int Handle = object.RowColPictureH;

VC++

OLE_HANDLE Handle = object->RowColPictureH;
OLE_HANDLE Handle = object->GetRowColPictureH();

C

HRESULT object->get_RowColPictureH(OLE_HANDLE* Handle);

Delphi

Handle := object.RowColPictureH  : Cardinal;

Put

VB.NET

object.RowColPictureH = Handle  As Integer

VB

object.RowColPictureH = Handle  As OLE_HANDLE

C#.NET

int object.RowColPictureH = Handle;

VC++

OLE_HANDLE object->RowColPictureH = Handle;
void object->PutRowColPictureH(OLE_HANDLE Handle);

C

HRESULT object->put_RowColPictureH(OLE_HANDLE Handle);

Delphi

object.RowColPictureH := Handle  : Cardinal;

object

A SftTree object.

Handle

A bitmap handle.  Defines the graphic displayed in the row/column header.  This bitmap handle has to remain valid until the tree control no longer uses it.  The application has to destroy the bitmap handle once it is no longer needed.  The top, left pixel of each graphic must contain the background color.  This color will be replaced by the actual background when the graphic is displayed.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowColumnHeader.Image.PictureH instead

The RowColPictureH property defines the graphic displayed in the row/column header.

The RowColPicture and RowColPictureH properties are synonyms, but accept different value types (Picture object reference or Windows bitmap handle).

The dimensions of the graphics are used to calculate the minimum dimension for the row/column, row headers and column headers, so graphics used as RowColPicture property are never clipped vertically.

The RowColPictureH property can be set to the value 0 (NULL), which removes the graphic from the row/column header.

The position of the row/column header graphic is determined by the RowColumnHeader.ImageHAlign, RowColumnHeader.ImageVAlign, RowColumnHeader.TextHAlign and RowColumnHeader.TextVAlign properties.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com